import 'package:oramemo/generated/json/base/json_field.dart';
import 'package:oramemo/generated/json/app_version_entity.g.dart';
import 'dart:convert';
export 'package:oramemo/generated/json/app_version_entity.g.dart';

@JsonSerializable()
class AppVersionEntity {
	String? msg;
	int? code;
	AppVersionData? data;

	AppVersionEntity();

	factory AppVersionEntity.fromJson(Map<String, dynamic> json) => $AppVersionEntityFromJson(json);

	Map<String, dynamic> toJson() => $AppVersionEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class AppVersionData {
	String? createTime;
	String? updateTime;
	String? remark;
	AppVersionDataParams? params;
	int? id;
	String? version;
	int? platform;
	String? downUrl;
	String? describe;
	int? mustRenew;

	AppVersionData();

	factory AppVersionData.fromJson(Map<String, dynamic> json) => $AppVersionDataFromJson(json);

	Map<String, dynamic> toJson() => $AppVersionDataToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class AppVersionDataParams {


	AppVersionDataParams();

	factory AppVersionDataParams.fromJson(Map<String, dynamic> json) => $AppVersionDataParamsFromJson(json);

	Map<String, dynamic> toJson() => $AppVersionDataParamsToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}